﻿using SqlSugar;

namespace Shop.Model.Entity.Use;

/// <summary>
/// 1.12 用户提现记录
/// </summary>
[SugarTable("use_draw_money")]
public class UseDrawMoneyEntity:BaseEntity
{
    /// <summary>
    /// 用户(use_user.Id)
    /// </summary>
    public long User { get; set; }
    
    /// <summary>
    /// 提现日志(use_user_wallet_log.Id)
    /// </summary>
    public long WalletLog { get; set; }
    
    /// <summary>
    /// 提现卡号(use_card.Id)
    /// </summary>
    public long? Card { get; set; }
    
    /// <summary>
    /// 类型：
    /// 1：微信
    /// 2：银行卡
    /// </summary>
    public int Type { get; set; }
    
    /// <summary>
    /// 提现状态：
    /// -1：失败
    /// 0：处理中
    /// 1：打款中
    /// 2：成功
    /// </summary>
    public int State { get; set; }
    
    /// <summary>
    /// 创建时间
    /// </summary>
    [SugarColumn(IsOnlyIgnoreInsert = true)]
    public DateTime FoundTime { get; set; }
    
    /// <summary>
    /// 成功/失败时间
    /// </summary>
    public DateTime? DisposeTime { get; set; }
    
    /// <summary>
    /// 操作员
    /// </summary>
    public long Operator { get; set; }
    
    /// <summary>
    /// 操作时间
    /// </summary>
    public DateTime? OperatorTime { get; set; }

    /// <summary>
    /// 描述
    /// </summary>
    public string? Title { get; set; }
}